//基本数据类型
//1.整数
//Int：默认整数类型（32位或64位，取决于平台）。
//UInt：无符号整数。
let numOfApples: Int = 10
let numOfBananas: UInt = 20

//2.浮点数 Float Double
let priceOfApples: Float = 2.5
let priceOfBananas: Double = 1.8

//3.布尔类型 Bool
let isStudent: Bool = true
let isTeacher: Bool = false

//4.字符串类型 String
let greeting: String = "Hello, World!"
var myName: String = "John"

//5.字符类型 Character
let letter: Character = "a"
let emoji: Character = "😄"
print(emoji)